<!DOCTYPE html>
<html>
<body>
    {% if form.errors %}
    <p>Your username and password didn't match. Please try again.</p>
    {% endif %}
    
    <h2>欢迎来到simple-task-management项目管理系统</h2>
    <form method="post" action="/auth/login">
    {% csrf_token %}
    <table>
    <tr>
        <td>Username</td>
        <td><input type="text" name="username" size="20" /></td>
    </tr>
    <tr>
        <td>Password</td>
        <td><input type="password" name="password" size="20" /></td>
    </tr>
    </table>

    <input type="submit" value="login" />
    <input type="hidden" name="next" value="{{ next }}" />
    </form>
</body>
</html>
